home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
docs
/
hyper
/
BlitzFaq.lha
/
BlitzFaq
/
FaqLists
/
Ctrl-c.txt
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1996-09-05
|
271 b
|
11 lines
The first thing is to put this line at the start of your program:
#SIGBREAKF_CTRL_C=1 ASL 12
;And put those lines into the main loop you want to break.
If (SetSignal_(0,#SIGBREAKF_CTRL_C) & #SIGBREAKF_CTRL_C)
Nprint "*** Break"
END
EndIf
;Very easy and works fine.